@import (reference) '../style/variables.less';

@space-prefix-cls: ~'@{prefix}-space';
@space-item-prefix-cls: ~'@{prefix}-space-item';

.@{prefix}-previewer-demo-space {
  width: 100%;
}

.@{space-prefix-cls} {
  display: inline-flex;

  &-vertical {
    flex-direction: column;
  }

  &-align {
    &-center {
      align-items: center;
    }

    &-start {
      align-items: flex-start;
    }

    &-end {
      align-items: flex-end;
    }

    &-baseline {
      align-items: baseline;
    }
  }
}

.@{space-item-prefix-cls} {
  &:empty {
    display: none;
  }
}
